<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>订单管理</title>
		<link rel="stylesheet" href="__AGENT__/css/iconfont.css" />
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
	</head>

	<body>
		{include file="public/header" /}
		<div class="index_conbox">
			<div class="index_content clearfix">
				{include file="public/lefter" /}
				<div class="right">
					<div class="rigtop">
						<span class="title">订单管理</span>
					</div>
					<div class="indrig_con orders_con">
						<div class="orders_topbox clearfix">
							<div class="chax_rowbox clearfix">
								<div class="shxx_row clearfix">
						            <div class="left">订单编号：</div>
						            <div class="right clearfix">
										<input type="text" name="" placeholder="" class="chax_input" />
						            </div>
						        </div>
						        <div class="shxx_row clearfix">
						            <div class="left">商品名称：</div>
						            <div class="right clearfix">
						                <input type="text" name="" placeholder="" class="chax_input" />
						            </div>
						        </div>
						        <div class="shxx_row clearfix">
						            <div class="left">订单类型：</div>
						            <div class="right clearfix">
										<div id="htselect">
											<select>
												<option>全部</option>
												<option>物流订单</option>
												<option>O2O订单</option>
											</select>
										</div>
						            </div>
						        </div>
							</div>
							<div class="chax_rowbox clearfix">
								<div class="shxx_row chax_row clearfix">
						            <div class="left">下单时间：</div>
						            <div class="right clearfix">
						                <input type="text" name="" placeholder="开始时间" class="chax_input" />
						                <i class="chax_line"></i>
						                <input type="text" name="" placeholder="结束时间" class="chax_input" />
						            </div>
						        </div>
						        <div class="shxx_row clearfix">
						            <div class="left">订单状态：</div>
						            <div class="right clearfix">
						                <div id="htselect">
											<select>
												<option>待付款</option>
												<option>待发货</option>
												<option>已发货</option>
												<option>已完成</option>
												<option>已评价</option>
											</select>
										</div>
						            </div>
						        </div>
							</div>
							<button type="button" class="htcxbtn">查询</button>
						</div>
						<div class="orders_content">
							<table class="zizh_table1">
								<thead>
									<tr class="special">
										<th colspan="8">
											<span>订单号：201709061404276</span>              
											<span>订单类型：快递订单</span>
										</th>
									</tr>
									<tr class="special">
										<th colspan="8" style="background: white; font-weight: normal;">备注：</th>
									</tr>
									<tr>
										<th>商品名称</th>
										<th>用户支付</th>
										<th>实付金额</th>
										<th>下单时间</th>
										<th>地址</th>
										<th>收货人</th>
										<th>订单状态</th>
										<th>数量</th>
									</tr>
								</thead>
								<tbody id="tbody">
									<tr>
										<td>苹果</td>
										<td>35.00</td>
										<td>35.00</td>
										<td>2017-07-20</td>
										<td>北湖区</td>
										<td>晓敏</td>
										<td>待付款</td>
										<td>1箱</td>
									</tr>
								</tbody>
							</table>
							
							<table class="zizh_table1" style="margin-top: 8px;">
								<thead>
									<tr class="special">
										<th colspan="8">
											<span>订单号：201709061404276</span>              
											<span>订单类型：快递订单</span>
										</th>
									</tr>
									<tr class="special">
										<th colspan="8" style="background: white; font-weight: normal;">备注：</th>
									</tr>
									<tr>
										<th>商品名称</th>
										<th>用户支付</th>
										<th>实付金额</th>
										<th>下单时间</th>
										<th>地址</th>
										<th>收货人</th>
										<th>订单状态</th>
										<th>数量</th>
									</tr>
								</thead>
								<tbody id="tbody">
									<tr>
										<td>苹果</td>
										<td>35.00</td>
										<td>35.00</td>
										<td>2017-07-20</td>
										<td>北湖区</td>
										<td>晓敏</td>
										<td>待付款</td>
										<td>1箱</td>
									</tr>
								</tbody>
							</table>
							<div class="fenye" style="display: block;">
								<ul class="pagination">
									<li class="disabled fenye_pre"><span>«</span></li>
									<li class="active"><span>1</span></li>
									<li><a href="">2</a></li>
									<li class="fenye_next"><a href="">»</a></li>
								</ul>
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
		
		{include file="public/footer" /}
	</body>

</html>
<script>
/*OEM-删除公告*/
function notice_del(id) {
	layer.confirm('确认要删除吗？', {
		btn: ['确定', '取消'] //按钮
	}, function() {
		$.ajax({
			type: 'get',
			url: "{:url('helps/notice_del')}",
			dataType: 'json',
			data: {
				id: id
			},
			success: function(data) {
				if(data.code == 200) {
					layer.msg(data.msg, {
						icon: 1,
						time: 1000
					});
					location.reload();
				} else {
					layer.msg(data.msg, {
						icon: 1,
						time: 1000
					});
				}
			},
			error: function(data) {
				console.log(data.msg);
			}
		});
	});
}
function notice_add() {
	layer.open({
	  type: 2,
	  title: '发布公告',
	  shadeClose: true,
	  shade: 0.8,
	  area: ['450px', '340px'],
	  content: "{:url('helps/notice_add')}"
	}); 
}

</script>